<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.sfilyh.util.DBUtil" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
     <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
 	    padding-bottom: 40px;
      }
     </style>
    <link href="<%=request.getContextPath()%>/css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body>  
   <div class="container">		
		<div class=“row”>
			<div class="span6">				
				<legend>LOGIN</legend>
				<c:if test="${!empty eMessage}">
					<div class="alert alert-error">              
	              		<strong>Error!</strong> ${eMessage}
	            	</div>
            	</c:if>
				<form class="form-horizontal" action="<%=request.getContextPath()%>/to_manage" method="post">				   	
				  <div class="control-group">
					<label class="control-label" for="inputEmail" >username</label>
					<div class="controls">
					  <input type="text" id="inputEmail" placeholder="username" name="uname" />
					</div>
				  </div>
				  <div class="control-group">
					<label class="control-label" for="inputPassword">password</label>
					<div class="controls">
					  <input type="password" id="inputPassword" placeholder="Password"  name="upwd" />
					</div>
				  </div>
				  <div class="control-group">
					<div class="controls">					  
					  <button type="submit" class="btn">Sign in</button>
					</div>
				  </div>
				</form>
			</div>
		</div>		
	</div>
    
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="<%=request.getContextPath()%>/js/bootstrap.min.js"></script>
  </body>
</html>